<?php

/**
 * 商品Controller
 *
 * @package Application/Admin/Controller
 * @author HanChaoJinag<hcj112@163.com>
 * last modify : 2013-11-19 11:45
 */

class GoodsController extends CommonController
{

    protected function _initialize() {
        parent::_initialize();

        //　获取商品分类
        $goodsCategory = D('GoodsCategory')->getGoodsCategory();
        $this->assign('goodsCategory',$goodsCategory);

        //　获取商品品牌
        $Brand = D('Brand')->getBrandShow();
        $this->assign('brand',$Brand);
    }
}